package com.shop.user.vo.menu;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Setter
@Getter
public class MenuVo {
    /**
     * 菜单id
     */
   @ApiModelProperty(value = "菜单Id",position = 1)
    private String id;
    /**
     * 菜单名称
     */
    @ApiModelProperty(value = "菜单名称",position = 2)
    private String menuName;
    /**
     * 菜单类型(1、模块 2、菜单 3、按钮)
     */
    @ApiModelProperty(value = "菜单类型(1、模块 2、菜单 3、按钮)",position = 3)
    private Integer menuType;
    /**
     * 页面地址
     */
    @ApiModelProperty(value = "页面地址",position = 4)
    private String menuUrl;
    /**
     * 权限
     */

    @ApiModelProperty(value = "权限",position = 5)
    private String permission;
    /**
     * '菜单图标'
     */
    @ApiModelProperty(value = "菜单图标",position = 6)
    private String defaultIcon;
    /**
     * 选中图标
     */
    @ApiModelProperty(value = "选中图标",position = 7)
    private String selectIcon;
    /**
     * '菜单父节点ID
     */
    @ApiModelProperty(value = "菜单父节点Id",position = 8)
    private String parentId;

    /**
     * 排序值
     */
    @ApiModelProperty(value = "排序值")
    private Integer sortNum;
    /**
     * 数据权限(1、正常 2、禁用 99、删除)
     */
    @ApiModelProperty(value = "数据权限(1、正常 2、禁用 99、删除)")
    private Integer dataStts;

    /**
     * 子菜单列表
     */
    private List<MenuVo> subList;
}
